<template>
  <div class="sensor-bulk">{{ title }}</div>
  <div class="sensor-middle">
    <slot name="sensor" />
  </div>
  <div class="sensor-bottom">{{ time }}</div>
</template>

<script setup>
import { defineProps } from 'vue'
const props = defineProps(['title', 'time'])
</script>

<style lang="scss" scoped>
.sensor-bulk {
  height: 30px;
  text-align: center;
  line-height: 30px;
  font-size: 18px;
  font-weight: 500;
  color: white;
  background-color: #bfa;
}
.sensor-middle {
  height: 120px;
  line-height: 120px;
  text-align: center;
}
.sensor-bottom {
  height: 30px;
  text-align: center;
  line-height: 30px;
  font-size: 15px;
}
</style>
